package com.gjh.ouygoing.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("t_payment_info")
public class PaymentInfo extends BaseEntity{

    private String orderNo;//商品订单编号

    private String transactionId;//支付系统交易编号

    private String paymentType;//支付类型

    private String tradeType;//交易类型

    private String tradeState;//交易状态

    private Integer payerTotal;//支付金额(分)

    private String content;//通知参数

    public String getTransactionId() {
        return transactionId;
    }

    public PaymentInfo setTransactionId(String transactionId) {
        this.transactionId = transactionId;
        return this;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public PaymentInfo setPaymentType(String paymentType) {
        this.paymentType = paymentType;
        return this;
    }

    public String getTradeType() {
        return tradeType;
    }

    public PaymentInfo setTradeType(String tradeType) {
        this.tradeType = tradeType;
        return this;
    }

    public String getTradeState() {
        return tradeState;
    }

    public PaymentInfo setTradeState(String tradeState) {
        this.tradeState = tradeState;
        return this;
    }

    public Integer getPayerTotal() {
        return payerTotal;
    }

    @Override
    public String toString() {
        return "PaymentInfo{" +
                "orderNo='" + orderNo + '\'' +
                ", transactionId='" + transactionId + '\'' +
                ", paymentType='" + paymentType + '\'' +
                ", tradeType='" + tradeType + '\'' +
                ", tradeState='" + tradeState + '\'' +
                ", payerTotal=" + payerTotal +
                ", content='" + content + '\'' +
                '}';
    }

    public PaymentInfo setOrderNo(String orderNo) {
        this.orderNo = orderNo;
        return this;
    }

    public PaymentInfo setContent(String content) {
        this.content = content;
        return this;
    }

    public PaymentInfo setPayerTotal(Integer payerTotal) {
        this.payerTotal = payerTotal;
        return this;
    }
}
